package util;

import sun.security.jca.GetInstance;

public class Demo {
    private static Demo demo=null;

    private Demo(){

    }
    public static synchronized  Demo getInstance(){
        if(demo == null){
            demo = new Demo();
        }
        return demo;
    }
}
